﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using PerfumeShopManagement.Model;

namespace PerfumeShopManagement.Controller
{
    public abstract class AbstractBaseController : IController
    {
        protected PerfumeShopDataContext _context = new PerfumeShopDataContext();

        public abstract Object GetObjectById(Object id);
        public abstract List<Object> GetAllObjects();
        public abstract List<Object> GetObjectsByCriteria(Object obj);
        public abstract bool Save(Object obj);
        public abstract bool Delete(Object obj);
        public abstract bool DeleteById(Object id);
    }
}
